#ifndef filterEngine_h
#define filterEngine_h

#include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <regex>

#include "libraryEngine.h"

namespace FE {

struct filter {
	std::vector<std::string> allow, disallow;
};

struct playlist {
	std::string name;
	std::vector<LIB::songData*> songs;
};

void generateFilter(const std::string&, filter&);
void applyFilter(const std::vector<LIB::songData>&, const filter&, playlist&);

};

#endif